package com.twopai.login.contact;

import com.twopai.framelibrary.entity.RunShopDetailEntity;
import com.twopai.framelibrary.http.BaseObjectBean;
import com.twopai.mvpbase.BaseView;

import io.reactivex.Observable;
import okhttp3.RequestBody;

/**
 * author : twopai
 * description :
 */
public interface LoginContact {
    interface model{
        Observable<BaseObjectBean<RunShopDetailEntity>> newsInfo(RequestBody body);
    }
    interface View extends BaseView {
        void newsInfoSuccess(BaseObjectBean<RunShopDetailEntity> bean);
        void newsInfoError(Throwable e);
    }

    interface Presenter{
        void newsInfo(RequestBody body);
    }
}
